4.13 GetCertificatePfx
string GetCertificatePfx(MyIDGetCertificatePfx requestDetails);
The GetCertificatePfx method collects a Password Protected PFX “Software Certificate” P12 for the specified request, for use as a .PFX certificate.
4.13.1 Inputs
Class |
Field |
Data Type |
Description |
Allow Null? |
---|---|---|---|---|
MyIDGetCertificatePfx |
|
|
|
No |
|
RequestId |
String |
The Certificate ID in the MyID Certificates table. |
No |
|
Password |
String |
The password to be used for protecting the PFX data. |
No |
4.13.2 Output
The output is a string containing the password protected P12 data, in Base64, for the Certificate Request. Any failures to create this request will result in an exception being thrown. Possible error scenarios are:
-
Missing Data
-
Certificate not found
-
Invalid certificate policy
-
Certificate not ready
-
Certificate request failed